<%@ page language="java" 
	contentType="text/html; 
	charset=UTF-8"
	pageEncoding="UTF-8"
	import="connectMysql.TestConnect"
	%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
    <style>
        body {
             background-color: lightblue;
        }
        .container {
            width: 400px;
            height: 300px;
            margin: auto;
            border: 1px solid black;
            padding: 20px;
            text-align: center;
        }
        .title {
            font-size: 24px;
            font-weight: bold;
        }
        .input {
            width: 200px;
            height: 30px;
            margin: 10px;
        }
        .button {
            width: 70px;
            height: 30px;
            background-color: green;
            color: white;
            font-size: 18px;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="title">欢迎登陆</div><br>
        <form   action="log_check.jsp" method="POST" onsubmit="return flase">
    		<br>
            <input class="input" type="text" name="username" id="username" placeholder="用户名"/>
            <input class="input" type="text" name="password" id="password" placeholder="密码"/>
            <br><br>
            <input type="submit"  class="button" onclick="login_check()" value="登录"/>
            <input type="button"  class="button" onclick="to_sign()" value="注册"/>
        </form>  
    </div>
    <script>
		function to_sign(){
			window.location="signin.jsp";
		}
	</script>
</body>
</html>